package com.app.qbake.module.mine.di;

import com.app.qbake.module.mine.api.OrderListApi;
import com.app.qbake.module.mine.api.OrderListApiProxy;

import dagger.Module;
import dagger.Provides;
import retrofit2.Retrofit;

/**
 * Created by wind on 2018/9/5.
 */
@Module
public abstract class OrderListModule {


    @Provides
    public static OrderListApiProxy provideApiProxy(Retrofit retrofit){
        OrderListApi api=retrofit.create(OrderListApi.class);
        OrderListApiProxy proxy=new OrderListApiProxy(api);
        return proxy;
    }


}
